/*
 *
装载电脑
转动方向: 北京

 */

#include <iostream>
using namespace std;
class vehicles{ //交通工具
	public:
		void load(const string& goods){
			cout << "装载"  << goods << endl;
		}
}; 
class tyre{ //轮胎
	public:
		void run(const string& dest){
			cout << "转动方向: " << dest << endl;
		}
};
class car: public vehicles{
	public:
		tyre wheel;
};
int main(void){
	car c1;
	c1.load("电脑");
	c1.wheel.run("北京");
	return 0;
}
